<?php
class Model_Product_Item extends Lin_Db_Table
{
	public $_key = 'item_id';
	public $_table = 'item';
	
	public function itemIsExistBySku($sku)
	{
		if ($this->getAll("item_sku = '{$sku}'"))
		{
			return true;
		}
		else
		{
			return false;
		}
	}
}